<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
  <title>动漫类型</title>
  <link rel="stylesheet" type="text/css" href="./bootstrap/css/bootstrap.min.css">
</head>
<?php
$row=$data['type'];
?>
<body>
<center><h2>动漫类型</h2></center>
<form class="form-horizontal" method="post" action="admin.php?c=type&m=searchtype" enctype="multipart/form-data">
   <input type="hidden" name="tid" value="<?php echo $row['tid']; ?>">


  <div class="form-group">
    <label for="inputType3" class="col-md-3 control-label">动漫类型</label>
    <div class="col-md-6">
      <?php 
        switch ($row['tid']) {
          case '1':
            echo "日本";
            break;
          case '2':
            echo "大陆";
            break;
          case '3':
            echo "欧美";
            break;
          case '4':
            echo "其他";
            break;
          default:
                echo "未选择类型";
            break;
        };
  ?>
    </div>
  </div>

  


</form>
</body>
</html>